SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Torri{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCity = 'Torri' OR prZip = 'Torri' OR prStreet LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Torri{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCountry = 'Torri') AND (prLocation LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}in{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCity = 'in' OR prZip = 'in' OR prStreet LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}in{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCountry = 'in') AND (prLocation LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Sabina{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCity = 'Sabina' OR prZip = 'Sabina' OR prStreet LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Sabina{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCountry = 'Sabina') AND (prLocation LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Italy{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}Italy{249b17bba881d9e2d44376e1d32004a43033a21231c9d7e5a0fce5818eebdbe9}' OR prCountry = 'Italy')